package org.dromara.exam.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 答卷元数据业务对象
 * @author :xiyin321
 * @since : 2024/6/4 10:25
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AnswerMetaInfo implements Serializable {
    private ClientInfo clientInfo;

    private AnswerInfo answerInfo;

    @Data
    public static class AnswerInfo {

        private Date startTime;

        private Date endTime;

    }

    @Data
    public static class ClientInfo {

        private String agent;

        private String browser;

        private String platformVersion;

        private String browserVersion;

        private String platform;

        private String remoteIp;

        /** 地区 */
        private String region;

        private String deviceType;

        private String cookie;

    }
}
